import {request} from '@pkg/request/src';

export enum Api {
  page = '/version/page',
  list = '/version/list',
  get = '/version/get',
  save = '/version/save',
  update = '/version/update',
  setState = '/version/setState',
  remove = '/version/delete',
}

/**
 * 查询详情
 * @param params
 */
export const getSysVersion = (params) => {
  return request.get({url: Api.get, params});
};
